package com.ssi.dao.good;

import java.util.List;
import java.util.Map;

import com.ssi.domain.goods.Goods;

/**
 */
public interface GoodsDao {

	public abstract void insertGoods(Goods goods);

	public abstract void updateGoods(Goods goods);

	public abstract void deleteGoods(int id);

	public abstract Goods queryGoodsById(int id);

	public abstract List<Goods> queryGoodsByIds(Map<String, Object> map);
	
	public abstract List<Goods> queryGoodsByGoodstypeId(Map<String, Object> map);

	public abstract List<Goods> queryGoodsByName(Map<String, Object> map);

	public abstract List<Goods> queryGoods(Map<String, Object> map);

	public abstract List<Goods> queryMoreGoods(Map<String, Object> map);

	public abstract List<Goods> queryGoodsByShopId(int id);






}